package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
	"xialou_platform/app/aliyunmq/rocket"
)

type Config struct {
	rest.RestConf
	Auth struct {
		AccessSecret string
		AccessExpire int64
	}
	Wechat struct {
		Mini struct {
			AppId     string
			AppSecret string
		}
	}
	WalletRpc                     zrpc.RpcClientConf
	ThirdPartyRpc                 zrpc.RpcClientConf
	AgentRpc                      zrpc.RpcClientConf
	SystemRpc                     zrpc.RpcClientConf
	AliyunMq                      rocket.ClientConf
	XiaLouWalletIncomeExpireQueue rocket.RqConf
	XiaLouUserBindAgentQueue      rocket.RqConf
	XiuXianApi                    struct {
		ApiBusinessWallet string
	}
}
